package com.kurumi.medical.model;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnore;

/**
 * 输血记录
 * @author lyh
 *
 */
public class HospitalVisitInfusionBloodInfo {

	/**
	 * visitGuid
	 */
	private String visitGuid;
	
	/**
	 * 输血次数
	 */
	private Integer infusionBloodTimes;
	
	/**
	 * 输血反应次数
	 */
	private Integer infusionBloodReactTimes;
	
	/**
	 * 输血总量
	 */
	private BigDecimal infusionBloodTotalVolume;
	
	/**
	 * 输血明细集合
	 */
	private List<HospitalVisitInfusionBloodRecord> infusionBloodRecords = new ArrayList<HospitalVisitInfusionBloodRecord>();

/*	@JsonIgnore
	public void clearEmpty(){
		for (int i = this.infusionBloodRecords.size()-1; i >=0; i--) {
			HospitalVisitInfusionBloodRecord infusionBloodRecord = this.infusionBloodRecords.get(i);
			if(infusionBloodRecord.isEmpty()){
				this.infusionBloodRecords.remove(i);
			}
		}
	}*/
	
	public String getVisitGuid() {
		return visitGuid;
	}

	public void setVisitGuid(String visitGuid) {
		this.visitGuid = visitGuid;
	}

	public Integer getInfusionBloodTimes() {
		return infusionBloodTimes;
	}

	public void setInfusionBloodTimes(Integer infusionBloodTimes) {
		this.infusionBloodTimes = infusionBloodTimes;
	}

	public Integer getInfusionBloodReactTimes() {
		return infusionBloodReactTimes;
	}

	public void setInfusionBloodReactTimes(Integer infusionBloodReactTimes) {
		this.infusionBloodReactTimes = infusionBloodReactTimes;
	}

	public BigDecimal getInfusionBloodTotalVolume() {
		return infusionBloodTotalVolume;
	}

	public void setInfusionBloodTotalVolume(BigDecimal infusionBloodTotalVolume) {
		this.infusionBloodTotalVolume = infusionBloodTotalVolume;
	}

	public List<HospitalVisitInfusionBloodRecord> getInfusionBloodRecords() {
		return infusionBloodRecords;
	}

	public void setInfusionBloodRecords(
			List<HospitalVisitInfusionBloodRecord> infusionBloodRecords) {
		this.infusionBloodRecords = infusionBloodRecords;
	}
	
	
	
	
	
}
